import { add } from "@/utils/form";

export default {
  data() {
    return {
      // 是否需要打开弹框
      oPenSearch: {
        default: 3,
        hide: false
      },
      // 全局按钮
      overallBtn: [
        {
          label: "新增",
          mthods: () => add("formProperty", this, this.addFormApi),
          icon: "el-icon-plus",
          type: "primary"
        },
        {
          label: "表格分页打印",
          mthods: () => this.openBox(),
          icon: "el-icon-plus"
        }
      ]

    };
  },
  methods: {
    openBox() {
      this.testModalFormData.visible = true;
    }
  }

};
